package org.naxx.security.function;

import java.util.Set;

/**
 * Able to load defined function types from our custom data
 * type definition format(s). For now we have XML only, 
 * but we can extend it to RDBMS/custom formats if need be.
 */
public interface FunctionTypeDefinitionLoader {

	/**
	 * Load function definitions from fixed set of
	 * predefined functions descriptors.
	 */
	public Set<FunctionType> loadFunctionDefinitions();
	
	public Set<FunctionType> loadFunctionDefinitions(String fileName);
}
